package com.face.server.repository;

import com.face.server.entity.Function;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * Created by ryan on 2018/1/25.
 */
public interface FuncRepository extends MongoRepository<Function,String>{
    List<Function> findByFNameRegex(String searchKey);
}
